package com.icangya.domain;

import javax.persistence.*;

@Entity
@Table(name = "dq_upgrade_goods")
public class DqUpGradeGoods {

    private long id;//id

    private String goodsName;//商品名称

    private int goodsPrice;//商品价格

    private long goodsId;//商品id

    private String upGradeName;//升级商品名

    private long upGradeId;//升级商品id

    private int upGradePrice;//升级商品价格

    private int emsFee;//邮费

    private int addEmsFee;//递增邮费

    private String goodsPath;//可升级商品图片路径

    private String upGradePath;//已升级商品图片路径

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    @Basic
    @Column(name = "goods_name")
    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }
    @Basic
    @Column(name = "goods_price")
    public int getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(int goodsPrice) {
        this.goodsPrice = goodsPrice;
    }
    @Basic
    @Column(name = "goods_id")
    public long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(long goodsId) {
        this.goodsId = goodsId;
    }
    @Basic
    @Column(name = "upgrade_name")
    public String getUpGradeName() {
        return upGradeName;
    }

    public void setUpGradeName(String upGradeName) {
        this.upGradeName = upGradeName;
    }
    @Basic
    @Column(name = "upgrade_id")
    public long getUpGradeId() {
        return upGradeId;
    }

    public void setUpGradeId(long upGradeId) {
        this.upGradeId = upGradeId;
    }
    @Basic
    @Column(name = "upgrade_price")
    public int getUpGradePrice() {
        return upGradePrice;
    }

    public void setUpGradePrice(int upGradePrice) {
        this.upGradePrice = upGradePrice;
    }
    @Basic
    @Column(name = "ems_fee")
    public int getEmsFee() {
        return emsFee;
    }

    public void setEmsFee(int emsFee) {
        this.emsFee = emsFee;
    }
    @Basic
    @Column(name = "add_ems_fee")
    public int getAddEmsFee() {
        return addEmsFee;
    }

    public void setAddEmsFee(int addEmsFee) {
        this.addEmsFee = addEmsFee;
    }
    @Basic
    @Column(name = "goods_path")
    public String getGoodsPath() {
        return goodsPath;
    }

    public void setGoodsPath(String goodsPath) {
        this.goodsPath = goodsPath;
    }

    @Basic
    @Column(name = "upgrade_path")
    public String getUpGradePath() {
        return upGradePath;
    }

    public void setUpGradePath(String upGradePath) {
        this.upGradePath = upGradePath;
    }



}
